﻿using System.Collections.Generic;

namespace Idea.UnitOfWork.Interface
{
    public interface IUnitOfWorkManager
    {
        Stack<IUnitOfWork> Stack { get; }
        IUnitOfWork AddOpenUnitOfWork(IUnitOfWork uow);
        IUnitOfWork CloseLastUnitOfWork();
        IUnitOfWork GetCurrentUnitOfWork();
    }
}
